<%@ page language="java" contentType="text/html;charset=utf-8" pageEncoding="utf-8"%>
<script type="text/javascript">
	/*조인버튼*/
	function gotoJoinPage(){
		jQuery("#formLogin .reqFunc").attr("value","gotoJoinPage");
		document.getElementById("formLogin").submit();
		
	}
	
</script>
<div id="login">
	
	<form id ="formLogin" name ="formLogin" action="/userPage" method="post">
		<div class="nameLabel">아이디</div>
		<input type="text" id="userId" name="userId"/><br>
		<div class="nameLabel">비번</div>
		<input type="password" id="userPass" name="userPass"/><br>
		<a class="button" href="#" onclick="ajaxSend('/userPage',aMainBodyLeftTop,'post','formLogin','mainBodyLeftTop');">로그인</a>
		<a class="button" href="#"  onclick="gotoJoinPage();">회원가입</a>
		<input type="hidden"  name="reqFunc" class ="reqFunc" value="loginProc"/>
	</form>
</div>